
var n = "a123a1123"
var m = parseInt(n)
alert(m)